<?php
include_once('common/header.php');	
if($AppUI->id <= 0) {	
	Vfriend_Function::redirect(HOST_VFRIEND);
}
$objCover 	= new Cover();
$arrAdmin	= $objCover->getAll();
$arrUser	= $objCover->getAll($AppUI->id);
$arrUcover	= $objCover->getCoverByUserId($AppUI->id);
$intWidth	= COVER_IMAGE_FULL_WIDTH;
$intHeight	= COVER_IMAGE_FULL_HEIGHT;
if(isset($arrUcover['coverid'])) {
	$srcFileName = DIR_COVER_FULL . $arrUcover['image'];
	list( $intWidth, $intHeight) = getimagesize( $srcFileName );
}
$this->view->arrAdmin = $arrAdmin;
$this->view->arrUser  = $arrUser;
$this->view->ucover	  = $arrUcover;
$this->view->intHeight	= $intHeight;
$this->view->intWidth	= $intWidth;

?>